let event = require("events");

let eventEmitter = new event.EventEmitter();

eventEmitter.on("aaa", function () {
    console.log("sdfdsfsf");
})

eventEmitter.emit("aaa");
